package fristphase.day03;

public class Student {
    String subjects;
    String name;
    String address;
//    String subjects,name,address;
    int age;

    void study(){
        if (subjects == "JSD"){
            System.out.println(name+"正在学习Java");
        }else if(subjects == "VFX"){
            System.out.println(name+"正在学习视频剪辑");
        }else {
            System.out.println("请填写正确的学科名称");
        }

    }
    void personIntroduce(){
        System.out.println(name+"今年"+age+"岁,来自"+address);
    }
}
